#pragma once
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "../common/Common.h"
USING_NS_CC;

class MainUIChat : public cocos2d::Node
{
public:
	MainUIChat();
	~MainUIChat();
public:
	static cocos2d::Node* createNode();
	virtual bool init();
	CREATE_FUNC(MainUIChat);
public:
	bool TouchDown(Touch* touch);
	void TouchMove(Touch* touch);
	bool TouchUp(Touch* touch);

	void AddText(string str, int fcolor, int bcolor);
public:
	
	Sprite* m_openBtn;
	ui::ListView* m_showTextList;
	bool m_isListViewMove;
	Node* m_CurSelectNode;
};
